package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.EmployeeQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IEmployeeService {
    void delete(Long id);

    void save(Employee record);

    Employee get(Long id);

    List<Employee> list();

    void update(Employee record);

    PageResult  query(EmployeeQueryObject qo);

    void changeState(Long id);

    List<Employee> queryEmployee();

    Employee checkName(String username);
}
